package com.thtf.strokeinquiry.app.bean.resp;


public enum ServerCode
{
    SYS_COMM_EXCEPTION("5001","服务器开了小差"),
    USER_NOT_EXIST("6001","用户信息不存在"),
    USER_REGISTERED("6002","用户已经注册"),
    USER_LOG_ERROR("6002","用户账号不存在或密码不正确"),
    PATIENT_NOT_EXIST("6002","患者信息不存在"),
    OPERATER_NOT_EXIST("6003","操作人信息不存在"),
    NOT_ALLOW_EXCEPTION("6004","改用户无法查看该信息"),
    OLD_PWD_ERROR("6005","原密码不正确"),
    PARA_lLLEGAL("7001","参数非法"),
    PARA_NOT_NULL("7002","参数不能为空"),
    DATE_PARE_ERROR("7003","日期转换出错"),
    IMG_IS_BLANK("7004","没有上传图片");

    private final String code;
    private final String msg;
    ServerCode(String code, String msg){
        this.code=code ;
        this.msg=msg;
    }
    public String getCode() {
        return code;
    }
    public String getMsg() {
        return msg;
    }

}